home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / m68k / 226 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.3 KB

  1. Path: prbarnes.demon.co.uk!peter
  2. From: Peter Barnes <peter@prbarnes.demon.co.uk>
  3. Newsgroups: comp.sys.m68k
  4. Subject: Re: 68332 TPU port as midi out.....Help!
  5. Date: Wed, 7 Feb 1996 14:35:07 +0000
  6. Organization: Electronic Design Consultants
  7. Distribution: world
  8. Message-ID: <QzYz9CAbiLGxEw9b@prbarnes.demon.co.uk>
  9. References: <Anr4ECAp3UFxEw38@madpanic.demon.co.uk>
  10. NNTP-Posting-Host: prbarnes.demon.co.uk
  11. X-NNTP-Posting-Host: prbarnes.demon.co.uk
  12. MIME-Version: 1.0
  13. X-Newsreader: Turnpike Version 1.11 <8iyjw$oXRruO8E0bH2Ks1bjnoz>
  14.  
  15. In article <Anr4ECAp3UFxEw38@madpanic.demon.co.uk>, Declan Smith
  16. <Declan@madpanic.demon.co.uk> writes
  17. >I am currently designing a midi project with the 68332 uP.  As yet I
  18. >have only one data sheet and no manuals.  This explanation may get
  19. >confusing:
  20. >
  21. >The midi output section of the project consists of two independant
  22. >channels (A & B).  Each midi-channel message can be routed to either of
  23. >A or B, thus creating effectievly 32 Midi channels.
  24. >
  25. >For each one of my output channels (A or B), the midi data can be routed
  26. >to one or more of four output sockets per channel (by using 4 control
  27. >lines into a 4016 to control the passage of the midi signal). 
  28. >
  29. >I have designed an ASM controller & data processor to carry out this
  30. >function, however, my question is : can I use the TPU part of the 68332
  31. >to generate the following:
  32. >
  33. >1.  If midi message is a channel message, output 4-bit routing code.
  34. >2.  Clock out start bit, 8 data bits, 1 stop bit. (at 31.25Kbits/s)
  35. >
  36. >The above needs to be duplicated (ie to support Channel A and B).
  37. >
  38. >Thanks in anticipation
  39. >
  40.  
  41. If memory serves (?) using a 4016 in Midi might produce interesting results as I
  42. seem to remember that the midi interface is type of opto-isolated current loop
  43. (to protect the musicians from electric shocks and to prevent earth loops
  44. mucking up the audio).
  45.  
  46. Just a word about Midi INPUTS, if each of your channels (A/B) can function as an
  47. input you might loose data if your switch is not looking at it!. There might be
  48. another more suitable newsgroup for the Midi implementations
  49.  
  50. Buried on the Freeware area of motorolas FTP area is a TPU code for an Async.
  51. serial link running out of the TPU. All the code is there - what the hell I'll
  52. attach the code in another e-mail. Note that I've not tried it yet so I don't
  53. know HOW you implement it.
  54.  
  55. -- 
  56. Peter Barnes
  57.